package com.example.rule.db.entity;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Jason - Chusifeng
 * @version 1.0.0
 * @className PymtRuleType.java
 * @packageName com.example.model.entity
 * @createTime 2022年10月11日 10:57:43
 * @description
 */
@Data
@Entity
@ToString(callSuper = true)
@Table(name = "pymt_rule_type",schema ="app_user")
public class PymtRuleType {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "pk_pymt_rule_type")
    private Integer pkPymtRuleType;

    @Column(name = "name")
    private String name;

    @Column(name = "value")
    private Integer value;

    @Column(name = "operator_ids")
    private String operatorIds;
}
